package ejercicio2;


import org.junit.Test;




public class Test1 {

	@Test
	public void test() {
		
		Director director = new Director();
		director.setBuilder(new BuilderNaveImperio());
		Nave nave = director.contruirNave();
		
		System.out.println(nave.getImperio());
		
		director.setBuilder(new BuilderNaveZentraedi());
		nave = director.contruirNave();
		System.out.println(nave.getImperio());

		
		
	}

}
